package com.egdk.api.mapp;

import com.egdk.api.entity.ElPaper;
import com.egdk.api.entity.ElPaperExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ElPaperMapper {
    long countByExample(ElPaperExample example);

    int deleteByExample(ElPaperExample example);

    int deleteByPrimaryKey(String id);

    int insert(ElPaper record);

    int insertSelective(ElPaper record);

    List<ElPaper> selectByExample(ElPaperExample example);

    ElPaper selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ElPaper record, @Param("example") ElPaperExample example);

    int updateByExample(@Param("record") ElPaper record, @Param("example") ElPaperExample example);

    int updateByPrimaryKeySelective(ElPaper record);

    int updateByPrimaryKey(ElPaper record);

    int sumObjective(@Param("paperId") String paperId);
}